Skip to content

Resolve text attribute deprecation warnings while maintaining iOS 6 c…#204

Open
soushi-arakawa wants to merge 1 commit intoGrouper:masterfrom
soushi-arakawa:fix/suppress-ios6-deprecation-warnings
Open

Resolve text attribute deprecation warnings while maintaining iOS 6 c…#204
soushi-arakawa wants to merge 1 commit intoGrouper:masterfrom
soushi-arakawa:fix/suppress-ios6-deprecation-warnings

Conversation

@soushi-arakawa
Copy link

Wrapped legacy UITextAttribute constants with #pragma clang diagnostic to suppress warnings on modern compilers.

Kept the NSFoundationVersionNumber check to ensure backward compatibility for library users on older iOS versions.

Verified that the modern NSShadow logic is correctly applied for iOS 7 and later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants